flattenlistmodeL: Compute items-changed position properly
authorBenjamin Otte <otte@redhat.com>
Mon, 1 Jul 2019 23:57:20 +0000 (23:57 +0000)
committerBenjamin Otte <otte@redhat.com>
Tue, 2 Jul 2019 00:53:00 +0000 (02:53 +0200)
commit129691f3a628c2796fb4d367c4479a2c1a973fed
tree3c27d85f567f482841a312fb3c267811376486b7
parent72814c54a81195a76c96990987c71680096e905c
flattenlistmodeL: Compute items-changed position properly

The code previously forgot to include the left child of the model's
node. Which of course only happened if that child wasn't NULL, which is
a common case.

Found and test provided by Matthias Clasen.
gtk/gtkflattenlistmodel.c
testsuite/gtk/flattenlistmodel.c